<?php
include_once "../model/resume.php";
include_once "main.php";

if(isset($_POST["id"]) && $_SESSION["username"] == "admin"){
    
    echo deleteResume($_POST["id"]);
}else{
    echo 0;
}